<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>管理员添票</title>
</head>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <meta name="description" content="">
    <meta name="author" content="">

    <title>Dashboard Template for Bootstrap</title>
    <!-- Bootstrap core CSS -->
    <link href="asserts/css/bootstrap.min.css" th:href="@{/webjars/bootstrap/4.0.0/css/bootstrap.css}" rel="stylesheet">

    <!-- Custom styles for this template -->
    <link href="asserts/css/dashboard.css" th:href="@{/asserts/css/dashboard.css}" rel="stylesheet">
    <style type="text/css">
        /* Chart.js */

        @-webkit-keyframes chartjs-render-animation {
            from {
                opacity: 0.99
            }
            to {
                opacity: 1
            }
        }

        @keyframes chartjs-render-animation {
            from {
                opacity: 0.99
            }
            to {
                opacity: 1
            }
        }

        .chartjs-render-monitor {
            -webkit-animation: chartjs-render-animation 0.001s;
            animation: chartjs-render-animation 0.001s;
        }
        table {
            width: 100%;
            height: 100%;
            border: 1px solid green;
            margin: auto;
            margin-top: 50px;
        }
    </style>
</head>

<body bgcolor="#ffdead">

<!--引入抽取的topbar-->
<!--模板名：会使用thymeleaf的前后缀配置规则进行解析-->

<div class="container-fluid" >
    <div class="row" >
        <main role="main" class="col-md-9 ml-sm-auto col-lg-10 pt-3 px-4">
            <div class="table-responsive">
                <table class="table table-striped table-sm" style="text-align: center">
                    <form action="/add" method="post">
                        演唱会名字<input name="t_name" type="text"/>
                        演唱会地点<input name="t_address" type="text"/></br>
                        歌手名字<input name="t_singer" type="text"/>
                        票的价格<input name="t_price" type="text"/></br>
                        票的数量<input name="t_count" type="text"/>
                        开始日期<input name="t_date" type="text"/></br>
                        开始时刻<input name="t_starttime" type="text"/>
                        结束时刻<input name="t_endtime" type="text"/></br>
                        图片地址<input name="t_img" type="text"/>
                        是否上架<input name="t_type" type="text"/></br>
                        <input type="submit" value="确认"></br>
                    </form>

                </table>
            </div>
        </main>
        <form id="deleteEmpForm"  method="post">
            <input type="hidden" name="_method" value="delete"/>
        </form>
    </div>
</div>
</body>
</html>